package com.tfjybj.itoo.exam.provider.service;

import com.dmsdbj.itoo.tool.base.service.BaseServicePlus;
import com.tfjybj.itoo.exam.entity.EvaluationPaperDetailEntity;
import com.tfjybj.itoo.exam.model.EvaluationPaperDetailModel;
import com.tfjybj.itoo.exam.model.EvaluationRecordModel;

import java.util.List;


/**
 * TeEvaluationPaperDetailService接口
 * teEvaluationPaperDetail表
 *
 * @author 杨江涛
 * @version 2.0.0
 * @since 2.0.0 2018-12-18 18:19:48
 */


public interface EvaluationPaperDetailService extends BaseServicePlus<EvaluationPaperDetailEntity> {

    /**
     * 查询问卷试题详情-题干与各个选型对应关系
     *
     * @param paperId 问卷id
     * @return 题干与各个选型对应关系
     * @author 杨晓慧
     * @since 2.0.0 2018-12-28 08:48:44
     */
    List<EvaluationPaperDetailModel> queryTeEvaluationPaperDetail(String paperId);


    /**
     * 查询问卷下所有单选题和多选题题干
     * @param paperId 问卷id
     * @return 问卷下所有单选题和多选题题干
     * @author 杨晓慧
     * @since 2.0.0 2018-12-28 08:48:44
     */
    List<EvaluationPaperDetailModel> queryRadioAndCheckQuestion(String paperId);

    /**
     * 查询学生答题记录
     * @return  paperId courseId studentId schoolYearId
     */
    List<EvaluationRecordModel> queryStudentEvaluationRecord(String paperId, String courseId, String studentId, String schoolYearId);

    /**
     * 根据问卷id查询问卷绑定关系表的信息
     * @param paperId 问卷id
     * @return 问卷绑定关系
     * @author 杨江涛
     * @since 2019-1-15 20:32:41
     */
   List<EvaluationPaperDetailModel> queryDetailInfo(String paperId);
}
